package com.daffodil.workable.factory.strategy;

import com.daffodil.workable.entity.WorkableNode;
import com.daffodil.workable.entity.WorkableResult;

/**
 * -任务工作流-开始节点
 * @author yweijian
 * @date 2022年4月8日
 * @version 1.0
 * @description
 */
public class StartWorkableStrategy extends DefaultWorkableStrategy {

    @Override
    protected WorkableResult chain(WorkableNode workableNode, WorkableResult curtResult, WorkableResult lastResult) {
        return curtResult.success();
    }

}
